#ifndef SERIALTHREAD2_H
#define SERIALTHREAD2_H

#include <QThread>
#include "posix_qextserialport.h"
class SerialThread2 : public QThread
{
    Q_OBJECT

public:
    SerialThread2();
    ~SerialThread2();
     Posix_QextSerialPort *m_GPRS_Com;/*GPRS串口应用对象*/
        qint64 GPRS_LenOld ;
private:
        int statusCount;
        int statusEmitDisconnect;
protected:
    void run();
signals:
    void m_GPRS_Done_CardEmulation(QByteArray temp);
    void m_GPRS_Disconnect_CardEmulation();

};


#endif // SERIALTHREAD2_H
